From: John Wiegley Date: Mon, 7 Jun 2004 08:36:23 +0000 (+0000) Subject: 2004-06-06 Emilio C. Lopes X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22108 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c64587fab6bc98505c2ebac19ab1168eb75ac45f;p=emacs.git 2004-06-06 Emilio C. Lopes * eshell/esh-cmd.el (eshell/which): respect commands quoted with eshell-explicit-command-char --- diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index 9b4f54ce8bf..477d8b410ec 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el @@ -1246,9 +1246,8 @@ be finished later after the completion of an asynchronous subprocess." (setq program (eshell-search-path name)) (let* ((esym (eshell-find-alias-function name)) (sym (or esym (intern-soft name)))) - (if (and sym (fboundp sym) - (or esym eshell-prefer-lisp-functions - (not program))) + (if (and (or esym (and sym (fboundp sym))) + (or eshell-prefer-lisp-functions (not direct))) (let ((desc (let ((inhibit-redisplay t)) (save-window-excursion (prog1